// samsting : this file is auto create.

#ifndef ALIYUN_Yundun_DdosFlowGraphResponse_H_
#define ALIYUN_Yundun_DdosFlowGraphResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Yundun {

class DdosFlowGraphResponse : public AcsResponse {
public:
  DdosFlowGraphResponse();

  class NormalFlow {
    friend class DdosFlowGraphResponse;
  public:
    int64 Gettime(void) const;
    int64 GetBitRecv(void) const;
    int64 GetBitSend(void) const;
    int64 GetPktRecv(void) const;
    int64 GetPktSend(void) const;
  private:
    int64  time_;
    int64  BitRecv_;
    int64  BitSend_;
    int64  PktRecv_;
    int64  PktSend_;
  }; // NormalFlow 


  class TotalFlow {
    friend class DdosFlowGraphResponse;
  public:
    int64 Gettime(void) const;
    int64 GetBitRecv(void) const;
    int64 GetPktRecv(void) const;
  private:
    int64  time_;
    int64  BitRecv_;
    int64  PktRecv_;
  }; // TotalFlow 

  const std::vector<NormalFlow>& GetNormalFlows(void) const;
  const std::vector<TotalFlow>& GetTotalFlows(void) const;

private:
  std::vector<NormalFlow> NormalFlows_;
  std::vector<TotalFlow> TotalFlows_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Yundun {

#endif // #ifndef ALIYUN_Yundun_DdosFlowGraphResponse_H_

// end of file 
